@charset "utf-8";
@import "./conf";
.bk-upload {
    .file-wrapper {
        position: relative;
        width: 100%;
        height: 70px;
        line-height: 70px;
        margin-bottom: 2px;
        font-size: 14px;
        border-radius: 2px;
        border: 1px dashed rgba(195, 205, 215, 1);
        text-align: center;
        .upload-icon {
            position: relative;
            left: -3px;
            margin-top: -5px;
            width: 24px;
            vertical-align: middle;
        }
        .click-upload { 
            color: #3c96ff;
        }
        .drop-upload {
            color: #c3cdd7;
        }
        input[type=file] {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 10;
            cursor: pointer;
            opacity: 0;
        }
    }
    .tip {
        margin: 5px 0 10px 0;
        font-size: 12px;
        text-align: left;
        color: #c3cdd7;
    }
    .isdrag {
        border: 1px solid #0082ff;
    }
    .all-file {
        .file-item {
            position: relative;
            display: flex;
            margin-bottom: 10px;
            height: 70px;
            padding: 15px;
            border-radius: 2px;
            border: 1px dashed #c3cdd7;
            background: rgba(250, 251, 253, 1);
            .file-icon {
                flex: 0 0 42px;
                height: 42px;
                width: 42px;
                border-radius: 2px;
                margin-left: 5px;
            }
            .close-upload {
                position: absolute;
                top: 6px;
                right: 8px;
                font-size: 12px;
                color: #c3cdd7;
                cursor: pointer;
            }
            .close-upload:hover {
                color: #737987;
            }
            .file-info {
                flex: 1;
                position: relative;
                margin-left: 10px;
                font-size: 12px;
                .file-name {
                    display: inline-block;
                    font-size: 12px;
                    max-width: 250px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .file-message {
                    position: absolute;
                    right: 25px;
                    display: inline-block;
                    .upload-speed {
                        padding-right: 40px;
                    }
                    .done {
                        color: #30d878;
                    }
                }
                .progress-bar-wrapper {
                    width: 97%;
                    height: 6px;
                    border-radius: 3px;
                    background: rgba(221, 228, 235, 1);
                    .progress-bar {
                        height: 5px;
                        width: 0%;
                        background: #30d878;
                        border-radius: 2px;
                    }
                    .fail {
                        background: #FF5656;
                    }
                }
            }
        }
        
        .error-msg {
            margin: 7px 0;
            padding-right: 15px;
            word-wrap: break-word;
            word-break: break-all;
            overflow: hidden;
            font-size: 12px;
            color: #ff5656;
        }
    }
}